package com.yao.club.service;

import com.yao.club.entity.result.ResponseEntity;
import com.yao.club.entity.UserEntity;
import com.yao.club.entity.dto.PostsTipOff;
import com.yao.club.entity.dto.PostsTipOffRecord;
import com.yao.club.entity.request.PostsTipOffRequestEntity;
import com.yao.club.mapper.UserMapper;
import com.yao.club.reposittory.PostsTipOffRecordRepository;
import com.yao.club.reposittory.PostsTipOffRepository;
import com.yao.club.utils.ResponseUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


public interface PostsTipOffService{

    /**
     * 举报信息列表
     * @return
     */
    ResponseEntity<List<PostsTipOff>> list();

    /**
     * 举报帖子
     * @param clubTipOffRequestEntity
     * @param username
     * @return
     */
    ResponseEntity<Boolean> save(PostsTipOffRequestEntity clubTipOffRequestEntity, String username);
}
